package com.bw.doctor.domain;

import lombok.Data;

import java.util.Date;
//尚-(我的药房)-患者问诊表_中间_诊断_中间_药品=(有患者信息的处方)
@Data
public class PatientMiddlePrescriptionMiddleRestoratives {

/**
* 主键自增
**/
  private long id;
/**
* 患者id
**/
  private long patientId;
/**
* 医生id
**/
  private long doctorId;
/**
* 诊断id
**/
  private long prescriptionId;
/**
* 药品id
**/
  private long restorativesId;
/**
* 创建时间
**/
  private Date createTime;
/**
* 状态（0 待取药  1已取药  2 已失效）
**/
  private long status;
/**
* 处方状态（0 慢性处方 1.正常）
**/
  private long condition;
/**
* 到期时间
**/
  private Date endTime;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getPatientId() {
    return patientId;
  }

  public void setPatientId(long patientId) {
    this.patientId = patientId;
  }


  public long getDoctorId() {
    return doctorId;
  }

  public void setDoctorId(long doctorId) {
    this.doctorId = doctorId;
  }


  public long getPrescriptionId() {
    return prescriptionId;
  }

  public void setPrescriptionId(long prescriptionId) {
    this.prescriptionId = prescriptionId;
  }


  public long getRestorativesId() {
    return restorativesId;
  }

  public void setRestorativesId(long restorativesId) {
    this.restorativesId = restorativesId;
  }


  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }


  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }


  public long getCondition() {
    return condition;
  }

  public void setCondition(long condition) {
    this.condition = condition;
  }


  public Date getEndTime() {
    return endTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }

}
